﻿using System;
using PlugNT.Cms.Page;

namespace PlugNT.Cms.Web.Admin
{
    public partial class _Message : AdminPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request["z"] != null && Request["message"] != null && Request.UrlReferrer != null)
            {
                string z = Request["z"];
                string message = Request["message"];
                if (z.Trim() == "yes" || z.Trim() == "no" || z.Trim() == "what")
                {
                    image_mes.ImageUrl = "images/" + z.Trim() + ".png";
                    if (z.Trim() == "no")
                    {
                        Label_result.Text = "系统异常！";
                    }
                }
                else { image_mes.ImageUrl = "images/what.png"; Label_result.Text = "未知操作！"; }
                Label_message.Text = message;
                //上一页 地址
                string host = Request.UrlReferrer.ToString();
                HyperLink_url.Text = host;
                HyperLink_url.NavigateUrl = host;
                //litVer.Text =
            }

        }
    }
}